using System;
using System.Collections.Generic;

namespace IQIGame.Onigao.GamePlay
{
    public abstract class BaseDynLevelEntity : IDisposable
    {
        public int id { protected set; get; }
        public abstract int mcid { get; }
        public abstract int mapSymbolCid { get; }
        public abstract IReadOnlyList<int> offeredQuests { get; }
        public float x { protected set; get; }
        public float y { protected set; get; }
        public float z { protected set; get; }
        /// <summary>
        /// 旋转
        /// </summary>
        public int dirEuler { protected set; get; }
        public virtual bool isIgnoreGroundAdjust => true;

        public virtual void UpdatePos(float x, float y, float z)
        {
            this.x = x;
            this.y = y;
            this.z = z;
        }

        public virtual void Dispose()
        {

        }
    }
}
